package l;

import com.sun.jdi.event.StepEvent;

public class car {
    String name;
    int carage;
    String carcolor;
    public  void show(){
        System.out.println(carcolor);
       engine e=new engine();
        System.out.println(e.enginename);

    }
    class engine{
        String enginename;
        int engineage;
        public void show(){
            System.out.println(enginename);
            System.out.println(carage);
        }
    }
}
